﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！


namespace Pano.MC.Application.SeedData;

/// <summary>
/// 项目系统菜单表种子数据
/// </summary>
[IncreSeed]
public class McProjectSeedData : ISqlSugarEntitySeedData<SysMenu>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    public IEnumerable<SysMenu> HasData()
    {
        //菜单列表
        var list = new List<SysMenu>();

        #region 项目
        list.Add(new SysMenu { Id = 589323265876037, Pid = 1300000000101, Title = "Projects", Path = "/dashboard/mcproject", Name = "mcProject", Component = "/dashboard/mcProject/index", Icon = "ele-Memo", Type = MenuTypeEnum.Menu, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 100 });
		list.Add(new SysMenu { Id = 589323265876038, Pid = 589323265876037, Title = "Query", Permission = "mcProject/page", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 100 });
		list.Add(new SysMenu { Id = 589323265876039, Pid = 589323265876037, Title = "Details", Permission = "mcProject/detail", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 110 });
		list.Add(new SysMenu { Id = 589323265876040, Pid = 589323265876037, Title = "Add", Permission = "mcProject/add", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 120 });
		list.Add(new SysMenu { Id = 589323265876041, Pid = 589323265876037, Title = "Delete", Permission = "mcProject/delete", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 130 });
		list.Add(new SysMenu { Id = 589323265876042, Pid = 589323265876037, Title = "Edit", Permission = "mcProject/update", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 140 });
		list.Add(new SysMenu { Id = 589323265876043, Pid = 589323265876037, Title = "Print", Permission = "mcProject/print", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 150 });
		list.Add(new SysMenu { Id = 589323265876044, Pid = 589323265876037, Title = "Import", Permission = "mcProject/import", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 160 });
		list.Add(new SysMenu { Id = 589323265876045, Pid = 589323265876037, Title = "Export", Permission = "mcProject/export", Type = MenuTypeEnum.Btn, CreateTime = DateTime.Parse("2024-09-11 16:22:32"), OrderNo = 170 });
        #endregion

        return list;
    }
}